tinyMCE.init({
			// General options
			mode : "textareas",
			theme : "advanced",
			editor_deselector : "NoEditor",
			plugins : "pagebreak,style,save,advimage,advlink,inlinepopups,insertdatetime,preview,searchreplace,contextmenu,paste,fullscreen,noneditable,visualchars,template,advlist,autosave",
	
			// Theme options
			theme_advanced_buttons1 : "newdocument,save,bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect,mybutton,pagebreak",
			theme_advanced_buttons2 : "undo,redo,cut,copy,paste,pastetext,search,replace,bullist,numlist,outdent,indent,blockquote,sub,sup,link,unlink,anchor,image,forecolor,backcolor,hr,insertdate,charmap,fullscreen,code",
			theme_advanced_buttons3 : "",
			theme_advanced_buttons4 : "",
			theme_advanced_toolbar_location : "top",
			theme_advanced_toolbar_align : "left",
			theme_advanced_resizing : false,
			height:"800px",
		    //width:"680px",
		    theme_advanced_blockformats : "p,h1,h2,h3,h4",
		    theme_advanced_font_sizes : "10=10px,11=11px,12=12px,14=14px,16=16px,18=18px,20=20px,24=24px,32=32px",
		    paste_remove_spans: true,
		    plugin_insertdate_dateFormat : "%d.%m.%Y",
		    theme_advanced_path : false,
		    
		    setup : function(ed) {

		    	ed.addButton('mybutton', {
			    	
		    		title : 'My button',
			    	image : '../include/scripts/tinymce/jscripts/tiny_mce/themes/advanced/img/mybutton.gif',
			    	onclick : function() {
	                    ed.focus();
	                    link = ed.dom.getParent(ed.selection.getNode(), 'A'),
	                    url = ed.dom.getAttrib(link, 'href'), 
	                    send = function (url) { 
	                    
	                    	var cont = ed.selection.getContent();
	                    	ed.execCommand('mceReplaceContent',false,'<a href="#" class="info">'+ cont + '<span>' + url + '</span>' + '</a>');
	 
		                    };
	
			                if (!url) {url = "";}
	
		                url = prompt(("advanced_dlg.link_url", "Sqarimi i termit:"), url);
	
		                if (!url) { return false;}
	
		                send(url);
			    	}
		    	});
		    },
	
			// Example content CSS (should be your site CSS)
			content_css : "css/content.css",
	
			// Drop lists for link/image/media/template dialogs
			template_external_list_url : "lists/template_list.js",
			external_link_list_url : "lists/link_list.js",
			external_image_list_url : "lists/image_list.js",
			media_external_list_url : "lists/media_list.js",
	
			// Style formats
			style_formats : [
				{title : 'Fusnota', inline : 'span', classes : 'fusnota'},
				{title : 'Poezi', inline : 'span', classes : 'poezi'}
			]
		});